package com.boarsoft.boar.soagov.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class FaceInfo implements Serializable {
	private static final long serialVersionUID = -4092554473696060381L;

	public static final short STATUS_NOUSE = 0;
	public static final short STATUS_INUSE = 1;

	/** 保留ID，以便与DIR对应 */
	private String id;
	/** 接口编号 */
	private String code;
	/** 接口名称 */
	private String name;
	/** 接口类 */
	private String face;
	/** 实现类的版本 */
	private String ver;
	/** 状态 */
	private short status = STATUS_INUSE;
	/** 接口描述 */
	private String memo;
	/** 关联参数 */
	private List<FaceParam> params = new ArrayList<FaceParam>();

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getFace() {
		return face;
	}

	public void setFace(String face) {
		this.face = face;
	}

	public String getVer() {
		return ver;
	}

	public void setVer(String ver) {
		this.ver = ver;
	}

	public short getStatus() {
		return status;
	}

	public void setStatus(short status) {
		this.status = status;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public List<FaceParam> getParams() {
		return params;
	}

	public void setParams(List<FaceParam> params) {
		this.params = params;
	}
}